class Test():
    xx = False

    def __init__(self):
        pass

    def test(func):
        def wrapper(self, *args, **kwargs):
            print(self.xx)
            print("inner", args)
            return func(self, *args, **kwargs)

        return wrapper

    @test
    def test_a(self, a, b):
        print(f"ok,{a} {b}")


if __name__ == '__main__':
    test = Test()
    test.test_a(3, 5)
